package com.lantosec.hmrp.modules.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lantosec.hmrp.core.kit.PageVO;
import com.lantosec.hmrp.modules.system.entity.SysCustomReport;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lantosec.hmrp.modules.system.vo.ReportExecutionVO;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * <p>
 * 自定义报表查询表 服务类
 * </p>
 *
 * @author AutoCode
 * @since 2020-06-14
 */
public interface ISysCustomReportService extends IService<SysCustomReport> {

    /**
     * 执行报表查询
     */
    Page<Map<String, Object>> executionQuery(PageVO<Map<String,Object>> page, ReportExecutionVO executionVO);

    /**
     * Excel导出
     * @param executionVO   查询条件参数
     */
    void exportExcel(ReportExecutionVO executionVO, HttpServletResponse response);
}
